#version 130

out vec2 vTexCoord;

void main(void)
{
   vec2 P = sign( gl_Vertex.xy );
   gl_Position = vec4( P, 0.0, 1.0 );
   
   vTexCoord = P * 0.5 + 0.5;
}